package com.ruoyi.web.service.impl;


import com.ruoyi.framework.web.domain.excel.FileInfo;
import com.ruoyi.web.mapper.FileInfoMapper;
import com.ruoyi.web.service.IFileInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 文件信息Service业务层处理
 *
 * @author ruoyi
 * @date 2023-06-07
 */
@Service
public class FileInfoServiceImpl implements IFileInfoService
{
    @Autowired
    private com.ruoyi.web.mapper.FileInfoMapper FileInfoMapper;

    /**
     * 查询文件信息
     *
     * @param id 文件信息主键
     * @return 文件信息
     */
    @Override
    public FileInfo selectFileInfoById(String id)
    {
        return FileInfoMapper.selectFileInfoById(id);
    }

    /**
     * 查询文件信息列表
     *
     * @param FileInfo 文件信息
     * @return 文件信息
     */
    @Override
    public List<FileInfo> selectFileInfoList(FileInfo FileInfo)
    {
        return FileInfoMapper.selectFileInfoList(FileInfo);
    }

}
